home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2 Development Libraries
/
SGI IRIX 6.2 Development Libraries.iso
/
dist
/
complib.idb
/
usr
/
share
/
catman
/
p_man
/
cat3
/
complib
/
COMQR.z
/
COMQR
Wrap
Text File
|
1996-03-14
|
4KB
|
67 lines
____CCCCOOOOMMMMQQQQRRRR((((3333FFFF)))) ____CCCCOOOOMMMMQQQQRRRR((((3333FFFF))))
NNNNAAAAMMMMEEEE
COMQR, SCOMQR - EISPACK routine. This subroutine finds the
eigenvalues of a COMPLEX upper Hessenberg matrix by the QR method.
SSSSYYYYNNNNOOOOPPPPSSSSYYYYSSSS
ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ccccoooommmmqqqqrrrr((((nnnnmmmm,,,, nnnn,,,, lllloooowwww,,,, iiiigggghhhh,,,, hhhhrrrr,,,, hhhhiiii,,,, wwwwrrrr,,,, wwwwiiii,,,, iiiieeeerrrrrrrr))))
iiiinnnntttteeeeggggeeeerrrr nnnnmmmm,,,, nnnn,,,, lllloooowwww,,,, iiiigggghhhh,,,, iiiieeeerrrrrrrr
ddddoooouuuubbbblllleeee pppprrrreeeecccciiiissssiiiioooonnnn hhhhrrrr((((nnnnmmmm,,,,nnnn)))),,,, hhhhiiii((((nnnnmmmm,,,,nnnn)))),,,, wwwwrrrr((((nnnn)))),,,, wwwwiiii((((nnnn))))
ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ssssccccoooommmmqqqqrrrr((((nnnnmmmm,,,, nnnn,,,, lllloooowwww,,,, iiiigggghhhh,,,, hhhhrrrr,,,, hhhhiiii,,,, wwwwrrrr,,,, wwwwiiii,,,, iiiieeeerrrrrrrr))))
iiiinnnntttteeeeggggeeeerrrr nnnnmmmm,,,, nnnn,,,, lllloooowwww,,,, iiiigggghhhh,,,, iiiieeeerrrrrrrr
rrrreeeeaaaallll hhhhrrrr((((nnnnmmmm,,,,nnnn)))),,,, hhhhiiii((((nnnnmmmm,,,,nnnn)))),,,, wwwwrrrr((((nnnn)))),,,, wwwwiiii((((nnnn))))
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
On INPUT
NNNNMMMM must be set to the row dimension of two-dimensional array parameters
as declared in the calling program dimension statement.
NNNN is the order of the matrix.
LLLLOOOOWWWW and IGH are integers determined by the balancing subroutine CBAL.
If CBAL has not been used, set LOW=1, IGH=N.
HHHHRRRR and HI contain the real and imaginary parts, respectively, of the
complex upper Hessenberg matrix. Their lower triangles below the
subdiagonal contain information about the unitary transformations used in
the reduction by CORTH, if performed. On OUTPUT The upper Hessenberg
portions of HR and HI have been destroyed. Therefore, they must be saved
before calling COMQR if subsequent calculation of eigenvectors is to be
performed.
WWWWRRRR and WI contain the real and imaginary parts, respectively, of the
eigenvalues. If an error exit is made, the eigenvalues should be correct
for indices IERR+1,...,N.
IIIIEEEERRRRRRRR is set to ZERO for normal return, J if the J-th
eigenvalue has not been
determined after a total of 30*N iterations. Calls CSROOT for complex
square root. Calls PYTHAG(A,B) for sqrt(A**2 + B**2). Calls CDIV for
complex division. Questions and comments should be directed to B. S.
Garbow, APPLIED MATHEMATICS DIVISION, ARGONNE NATIONAL LABORATORY
PPPPaaaaggggeeee 1111